package lab02.test13;
import java.util.Scanner;

public class Test13 {
    public static void main(String[] args) {
        Gymnastics gymnastics = new Gymnastics();
        double[] scores = new double[4];

        Scanner scanner = new Scanner(System.in);

        for (int i = 0; i < 4; i++) {
            int num = i + 1;

            System.out.println("请输入第" + num + "个学生的分数。");
            scores[i] = scanner.nextDouble();
        }

        School school = new School();

        System.out.println("平均分"+school.average(scores));


    }

}
